<h1>New map</h1>

<% form_for(@map) do |f| %>
  <%= f.error_messages %>
  <table>
    <tr>
      <td align="left"><%= map :center => "-122.18172311782837, 37.453261881659074"%> </td>
      <td align="right">
        <div style="text-align: left">
 <p>
    <%= f.label :title %><br />
    <%= f.text_field :title %>
  </p>

  <p>
    <%= f.label :body %><br />
    <%= f.text_area :body %>
  </p>
  <P>
     <%= f.label :px %><br />
    <%= f.text_field :px %>
  </p>
  <P>
     <%= f.label :py %><br />
     <%= f.text_field :py %>
  </p>
  <P>
     <%= f.label :zoom %><br />
     <%= f.text_field :zoom %>
  </p>
  <p>
    <%= f.submit 'Create' %>
  </p>
</div><td
    </tr>
  </table>
<% end %>

<%= link_to 'Back', maps_path %>